package com.cy2;

import java.util.Arrays;

public class ArraysMethod {
    public static void main(String[] args) {
        int[] arr={25,84,54,6565,54};
        String s=Arrays.toString(arr);
        System.out.println("排序前："+s);
        Arrays.sort(arr);
        String s2=Arrays.toString(arr);
        System.out.println("排序后："+s2);
    }
}

